export default {
    namespaced: true,
    state: {
        existHost: [],
        SupportTech: [],
        PhysicalHostInfo: {},
        OperateSystemSupportList: []
    },
    mutations: {
        HostListOperate(state, Operate) {
            state.existHost.splice(0);
            state.existHost.push(...Operate);
        },
        SupportTechOperate(state, Operate) {
            state.SupportTech.splice(0);
            state.SupportTech.push(...Operate);
        },
        PhysicalHostDataOperate(state, Operate) {
            state.PhysicalHostInfo = Operate;
        },
        OperateSystemListOperate(state, Operate) {
            state.OperateSystemSupportList.push(...Operate);
        }
    }
}